﻿namespace DesignModeConsole.创建型.抽象工厂模式
{
    public class AbstractFactoryService : IService
    {
        /// <summary>
        /// 抽象工厂
        /// </summary>
        public void Main()
        {
            IReadFileParserFactory readFileParser = new ReadJsonFileParserFactory();

            var systemOne = readFileParser.CreateSystemOneParser();
            Console.WriteLine(systemOne.Read());
        }
    }
}